-- cmd_take_area_unlock_bonus
-- Created by chengb Sep/9/2015
-- 领取区域解锁奖励

function Operation.cmd_take_area_unlock_bonus(areaId)
    -- 客户端自行领取
    if not DungeonAreaM.takeUnlockBonus(areaId) then
        return false;
    end

    -- 记录起来，需要进行同步
    local v = { ["area_id"] = areaId, };

    SyncM.addMessage("CMD_TAKE_AREA_UNLOCK_BONUS", v);
    SyncM.startSync();
end